package org.mall.modules.message.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.mall.modules.message.entity.AppMessage;

import java.util.List;

/***
 *@author yinxucun
 *@date 2019-12-05 14:54 
 */

public interface IAppMessageService extends IService<AppMessage> {
    IPage<AppMessage> getPageListOfMessage(Page page, String userId);

    List<AppMessage> getNewMessageListById(String userId, Long id);
}
